package com.yswy.theater.vo.res;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yswy.theater.entity.TheaterPlay;
import com.yswy.theater.vo.res.TheaterPlayGatherResVo;
import lombok.Data;

@Data
public class ListTheaterPlayGatherResVo {

    Page<TheaterPlayGatherResVo> page ;
    TheaterPlayResVo theaterPlayResVo ;

    public ListTheaterPlayGatherResVo(Page<TheaterPlayGatherResVo> page,
                                      TheaterPlay theaterPlay ,Boolean isCollect,
                                       Integer episodes ) {
        this.page = page;
        this.theaterPlayResVo = new TheaterPlayResVo(theaterPlay , isCollect , episodes);
    }
}
